package com.mediator.concrete.extend;

import com.mediator.concrete.People;

public class Seller extends People {
    @Override
    public void send(String msg) {
        System.out.println("卖方发出消息：" + msg);
        mediator.relay(this, msg);
    }

    @Override
    public void receive(String msg) {
        System.out.println("卖方收到消息：" + msg);
    }
}
